#include "Car.h"

Car::Car(string _Brand,int _Weight)
	:Weight(_Weight), 
	Brand(_Brand)
{
	//this->Brand=_Brand;
}
//------------------------	
	void Car::setBrand(string _Brand)
	{
		this->Brand=_Brand;
	}
	string Car::getBrand()
	{
		return Brand;
	}
	
	void Car::setWeight(int _Weight)
	{
		this->Weight=_Weight;
	}
	int Car::getWeight()
	{
		return Weight;
	}

	void Car::Run()
	{
		cout << "Brand:" << Brand << endl;
		cout << "Weight:" << Weight << endl;
	}

